/**
 * 新增isRead变量判断消息是查看    
 * 新增属性id为tempmember表的主键  解决对于一个学生只能保存一条操作记录的问题
 *    2016-2-27  张文锦
 * 增加审核失败属性
 * */
package com.cszjzx.member.po;
import java.util.Date;
/*operationType 
  0: 添加数据
  1：更新数据
  2：删除数据
  checkcondition：
  0：暂存
  1：待审核
  2：审核通过               
  3：审核不通过*/

public class TempleMember {
	private int id;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	private Date submitTime;
	private int operationType;
	private int masterid;
	private int checkcondition;
	private String details;	//描述操作信息
	private String FailReason;  //审核失败原因
	public String getFailReason() {
		return FailReason;
	}
	public void setFailReason(String failReason) {
		FailReason = failReason;
	}
	public Member member;  //为了省事直接公有
	
    private int isRead;     //是否被查看0为未查看，非0为已查看
    
	public int getIsRead() {
		return isRead;
	}
	public void setIsRead(int isRead) {
		this.isRead = isRead;
	}
	public TempleMember() {
		member= new Member();
	}
	public String getDetails() {
		return details;
	}
	public void setDetails(String details) {
		this.details = details;
	}
	public Member getMember() {
		return member;
	}
	public void setMember(Member member) {
		this.member = member;
	}
	public Date getSubmitTime() {
		return submitTime;
	}
	public void setSubmitTime(Date submitTime) {
		this.submitTime = submitTime;
	}
	public int getOperationType() {
		return operationType;
	}
	public void setOperationType(int operationType) {
		this.operationType = operationType;
	}
	public int getMasterid() {
		return masterid;
	}
	public void setMasterid(int masterid) {
		this.masterid = masterid;
	}
	public int getCheckcondition() {
		return checkcondition;
	}
	public void setCheckcondition(int checkcondition) {
		this.checkcondition = checkcondition;
	}
	@Override
	public String toString() {
		return "TempleMember [id=" + id + ", submitTime=" + submitTime + ", operationType=" + operationType
				+ ", masterid=" + masterid + ", checkcondition=" + checkcondition + ", details=" + details + ", member="
				+ member + ", isRead=" + isRead + "]";
	}
	
	
}
